/* Scss Document */
.school_list_screen{
  display: block;
}
.list_screen_hd{
  border-bottom: 2px solid #ffc786;
  nav{
    border: 1px solid #e4e4f0;
    border-bottom: 0 none;
    border-radius: 3px 3px 0 0;
    display: block;
    width: 100%;
    background: #f7f7f7;
    overflow: hidden;
  }
  .item{
    display: inline-block;
    float: left;
    margin-top: -1px 0;
    width: 215px;
    height: 78px;
    line-height: 78px;
    text-align: center;
    font-size: 16px;
    color: #4c4c4c;
    &:hover{
      color: #667fc3;
    }
    &.first{
      border-radius: 3px 0 0 0;
      margin-left: -1px;
    }
    &.last{
      border-radius: 0 3px 0 0;
      margin-right: -1px;
    }
    &.active{
      background: url(#{$firstlevel-path}images/subpage/screen_bg.jpg) no-repeat center center;
      color:#fff;
    }
  }
}
.list_screen_bd{
  .screen_item{
    border-top: 1px solid #e4e4f0;
    @include fn-clearfix;
    &:first-child{
      border-top:0;
    }
    dt{
      display: inline-block;
      float: left;
      width: 120px;
      padding: 20px 10px;
      line-height: 20px;
      text-align: right;
    }
    dd{
      display: inline-block;
      float: left;
      width: 740px;
      padding: 12px 0;
      line-height: 36px;
      overflow: hidden;
      .option{
        margin: 2px;
        display: inline-block;
        float: left;
        padding: 0 16px;
        line-height: 30px;
        border-radius: 3px;
        cursor: pointer;
        &.active{
          background-color: #5b9ae7;
          color: #fff;
        }
      }
      .fa-trash-o{
        display: inline-block;
        float: right;
        font-size: 14px;
        color: #666;
        margin: 3px 20px 3px 10px;
        line-height:29px;
				cursor:pointer;
        &:before{
          margin-right: 3px;
          font-size: 18px;
          color: #999;
          vertical-align: middle;
        }
				&:hover{
					color: #e35d4b;
					&:before{
						color:#e35d4b;
					}
				}
      }
    }
    &.selected{
      .option{
        margin: 6px 4px;
        border: 1px solid #4e76cf;
        border-radius: 0;
        line-height: 22px;
        i{
          margin-left: 5px;
          display:inline-block;
					width:10px;
					height:10px;
					background:url(#{$firstlevel-path}images/subpage/remove-ico.png) center center no-repeat;
        }
      }
    }
  }
}

.list_screen_ft{
  border-top: 1px solid #e4e4f0;
  border-bottom: 1px solid #e4e4f0;
  background: #f7f7f7;
  overflow: hidden;
  .sort_item{
    float: left;
    width: auto;
    height: 68px;
    padding: 20px 50px;
    line-height: 28px;
    text-align: center;
    border-left: 1px solid #e4e4f0;
    color: #666;
    position: relative;
    cursor: pointer;
    &.down,&.up{
      color: #4b6fcb;
      background:#fff;
    }
    &:first-child{
      border-left:0;
    }
    .fa-caret-up:before{
      color: #666;
      position: absolute;
      right: 50px;
      top: 23px;
    }
    .fa-caret-down:before{
      margin-left: 5px;
      position: relative;
      top: 3px;
      color: #666;
    }
    &.down .fa-caret-down:before{
      color: #4b6fcb;
    }
    &.up .fa-caret-up:before{
      color: #4b6fcb;
    }
  }
  .sort_right{
    float: right;
    width: 70px;
    padding: 20px;
    &.active{
      color: #4b6fcb;
      background:#fff;
    }
  }
}

.school_list{
  padding: 10px 0;
  margin: 0 -10px;
  @include fn-clearfix;
  .school_item{
    display: inline-block;
    float: left;
    margin: 10px;
    border: 1px solid #e4e4f0;
    overflow: hidden;
    background: #f7f7f7;
    .imgbox{
      display: inline-block;
      float: left;
      margin: -1px;
      position: relative;
      .hotlab{
        position: absolute;
        top: 5px;
        right: 5px;
        width: 40px;
        height: 40px;
        background: url(#{$firstlevel-path}images/subpage/hotIco.png) no-repeat center center;
      }
      .shadow{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background:url(#{$firstlevel-path}images/common/otransparent90.png) repeat;
        display: none;
        span{
          display: block;
          position: absolute;
          top: 0;
          left: 0;
          right: 0;
          bottom: 0;
          margin: auto;
          border:1px solid rgba(255,255,255,.4);
          border-radius: 14px;
          line-height: 26px;
          height: 28px;
					font-size:16px;
          color: #fff;
          width: 100px;
          text-align: center;
          .fa{
            margin-left: 5px;
          }
        }
      }
    }
    .txtbox{
      float: left;
      .school_title{
        margin: 0;
        color: #333;
        @include fn-text-ellipsis;
      }
      .school_address{
        color: #999;
				font-size: 12px;
				line-height: 22px;
				height: 44px;
				@include fn-text-ellipsis2;
        a{
          color: #4888d6;
          &:hover{
            text-decoration: underline;
          }
        }
      }
    }
    .scorebox{
      color: #eb6262;
      font-size: 16px;
      strong{
        font-weight: normal;
      }
    }
    &:hover{
      border-color: #e15c4b;
      .imgbox .shadow{
        display: block;
				span{
					@include fn-opacity-compatible(1);
				}
      }
      .txtbox .school_title{
        color: #e15c4b;
      }
    }
  }
}

.typelist{
  .school_item{
    width: 860px;
    height: 140px;
    .imgbox{
      width: 140px;
      height: 140px;
      margin-right: 20px;
      img{
        width: 100%;
        height: 100%;
      }
    }
    .txtbox{
      margin: 19px 0;
      width: 580px;
      height: 100px;
      padding-right: 20px;
      border-right: 1px solid #eaeaea;
      .school_title{
        margin: -6px 0 15px;
        font-size: 18px;
        font-weight: bold;
      }
      .school_resume{
        color: #999;
        height: 55px;
        line-height: 18px;
        margin-bottom: 15px;
        @include fn-text-ellipsis3;
      }
      .school_accessory{
        font-size: 12px;
        color: #999;
        .school_comment{
          display: inline;
          margin-right: 10px;
          .fa-commenting-o{
            color: #e35d4b;
            margin-right: 3px;
          }
          span{
            text-decoration: underline;
          }
          &:hover{
            color: #e35d4b;
          }
        }
      }
    }
    .scorebox{
      float: right;
      display: inline-block;
      margin: -1px;
      width: 120px;
      height: 140px;
      text-align: center;
      padding: 50px 10px;
      line-height: 40px;
      strong{
        font-size: 36px;
      }
    }
  }
}

.typelarge{
  .school_item{
    width: 273px;
    height: 400px;
    position: relative;
    .imgbox{
      width: 273px;
      height: 273px;
      img{
        width: 100%;
        height: 100%;
      }
    }
    .txtbox{
      width: 100%;
      padding: 15px 19px;
      position: relative;
      z-index: 2;
      .school_title{
        margin-bottom: 20px;
        font-size: 16px;
        font-weight: bold;
      }
      .school_resume{
        display: none;
      }
      .school_accessory{
        .school_comment{
          display: none;
        }
      }
    }
    .scorebox{
      position: absolute;
      width: 100%;
      height: 70px;
      right: 0;
      bottom: 0;
      padding: 5px;
      padding-top: 40px;
      line-height: 28px;
      text-align: right;
      background: url(#{$firstlevel-path}images/subpage/pinfen_bg.jpg) no-repeat right bottom;
      strong{
        font-size: 28px;
      }
    }
  }
  .school_item:nth-child(3n+1){
    width: 274px;
    .imgbox{
      width: 274px;
    }
  }
}


.color_blue .school_list .school_item{
  .imgbox .shadow{
    background: #445ec0;
  }
  &:hover{
    border-color: #e4e4f0;
    .txtbox .school_title{
      color: #333;
    }
  }
}